home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u286.dms / in.adf / ARP / ARPManual / Search < prev    next >
Encoding:
Text File  |  1991-07-28  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      Search(REL2)         ARP User's    Manual          Search(REL2)
  5.  
  6.  
  7.  
  8.      NAME
  9.       Search - Search a file or files for a    name or    pattern.
  10.  
  11.      SYNOPSIS
  12.       Search FROM,SEARCH/A,ALL/S
  13.  
  14.      Description
  15.       By default (no FROM string supplied) Search looks at all
  16.       files    in the current directory for the SEARCH    string or
  17.       pattern.  You    may supply a directory as the From string as
  18.       well as a wildcard pattern specifying    the directories    to
  19.       search.  If you also specify the ALL switch, Search will
  20.       also look in all the sub-directories of that branch of the
  21.       directory tree.
  22.  
  23.       The ARP Search also allows you to specify a wildcard pattern
  24.       as the search    string,    which the BCPL original    did not.  This
  25.       makes    the ARP    Search usable. Like the    BCPL Search, case is
  26.       ignored in both specific strings and patterns.  To supply
  27.       spaces in a search pattern, as always, you must supply
  28.       quotes around    the pattern.
  29.  
  30.       Search will display the name of the file (only once, at the
  31.       start    of its search) and, if a SEARCH    match is found,    it
  32.       will display the line    with the match,    along with the line
  33.       number.
  34.  
  35.       To abort the search, hit CONTROL-C.  To abort    the current
  36.       file,    and proceed to the next    in the list, type CONTROL-D.
  37.  
  38.      EXAMPLES
  39.       Search SYS:INCLUDE/exec/*.h SIG?_*
  40.  
  41.       The command line above demonstrates the use of wildcard
  42.       patterns in both the FROM and    the SEARCH string positions.
  43.       This will cause Search to look for at    all files in
  44.       SYS:INCLUDE/exec which end with the characters '*.h',    for
  45.       all strings which begin with the three characters 'SIG',
  46.       followed by any character, followed by an underscore,
  47.       followed by anything.
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.